package com.shujia.java.day11.demo2;

/**
 * Function 5个学生 数组
 */
public class Test {
    public static void main(String[] args) {
        //创建5个学生
        Student student = new Student("张三");
        Student student1 = new Student("张三");
        Student student2 = new Student("张三");
        Student student3 = new Student("张三");
        Student student4 = new Student("张三");

        //数组的创建 对象数组
        Student[] students=new Student[10];
        students[0]=student;

        //这时候数组 我们要操作对象的需求

    }
}
